From 2786d52ab603c4d4f2ce3156fc2d9d084bfbe72f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Timm=20B=C3=A4der?= Date: Thu, 16 Feb 2017 12:23:47 +0100 Subject: [PATCH] filechooserentry: Avoid an uninitialized value |= with a garbage value on the left side results in a still-garbage value. --- gtk/gtkfilechooserentry.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkfilechooserentry.c b/gtk/gtkfilechooserentry.c index e5607c1490..77f76a6678 100644 --- a/gtk/gtkfilechooserentry.c +++ b/gtk/gtkfilechooserentry.c @@ -213,7 +213,7 @@ match_func (GtkEntryCompletion *compl, needed_flags = gtk_file_filter_get_needed (chooser_entry->current_filter); filter_info.display_name = g_file_info_get_display_name (file_info); - filter_info.contains |= GTK_FILE_FILTER_DISPLAY_NAME; + filter_info.contains = GTK_FILE_FILTER_DISPLAY_NAME; if (needed_flags & GTK_FILE_FILTER_MIME_TYPE) { -- 2.30.2